package com.pay.controller;

import com.alipay.api.demo.AliPayProvider;
import com.alipay.api.demo.WxPayProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tjq
 * @Title: WxController
 * @Description: 微信支付控制器
 * @date 2019/8/13 9:36
 */
@RestController
public class WxController implements WxPayProvider {
    private Logger logger = LoggerFactory.getLogger(WxController.class);

    /**
     * 微信支付
     * @return
     */
    @Override
    public String pay() {
        logger.info("调用微信支付");
        return null;
    }
}
